import{d as o,e as n,a as p,P as c,Q as l,R as g,$ as t,a2 as m,a5 as i}from"./elementPlusModules.js";import{_ as d}from"./index.js";import"./lodashModules.js";import"./vxeTableModules.js";const u={class:"demo-progress"},_=o({__name:"Base",setup(f){const r=s=>s===100?"Full":`${s}%`,a=n(`
<template>
  <div class="demo-progress">
    <el-progress :percentage="50" :indeterminate="true" />
    <el-progress :percentage="100" :format="format" />
    <el-progress :percentage="100" status="success" />
    <el-progress :percentage="100" status="warning" />
    <el-progress :percentage="50" status="exception" />
  </div>
</template>

<script lang="ts" setup>
const format = (percentage) => (percentage === 100 ? 'Full' : \`\${percentage}%\`)
<\/script>

<style scoped>
.demo-progress .el-progress--line {
  margin-bottom: 15px;
  width: 350px;
}
</style>
`);return(s,v)=>{const e=p("el-progress");return c(),l(i,null,[g("div",u,[t(e,{percentage:50,indeterminate:!0}),t(e,{percentage:100,format:r}),t(e,{percentage:100,status:"success"}),t(e,{percentage:100,status:"warning"}),t(e,{percentage:50,status:"exception"})]),m(s.$slots,"default",{html:a.value},void 0,!0)],64)}}}),b=d(_,[["__scopeId","data-v-b66bc2fa"]]);export{b as default};
